<template>
	<view>
		<uni-forms :modelValue="formData">
			<uni-forms-item label="手机" name="phone">
				<uni-easyinput
					type="text"
					v-model="formData.phone"
					placeholder="请输入手机号"
				/>
			</uni-forms-item>
			<uni-forms-item label="密码" name="password">
				<input
					type="text"
					v-model="formData.password"
					placeholder="请输入密码"
				/>
			</uni-forms-item>
		</uni-forms>
		<button @click="submitForm">Submit</button>
	</view>
</template>

<script setup></script>
<script>
	export default {
		options: {
			styleIsolation: 'shared',
			multipleSlots: true
		},
	}
</script>
<style></style>
